class_name Level
extends Node

@onready var player: Player = %Player

@onready var score_board = %ScoreBoard

@onready var health_board: HealthBoard = %HealthBoard


func _ready() -> void:
	player.get_attribute("score").current_value_changed.connect(score_board.on_score_changed)
	player.get_attribute("health").current_value_changed.connect(health_board.on_health_changed)
